﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SmartBot
{
    /// <summary>
    /// Chứa setting chung cho toàn application
    /// </summary>
    [Serializable]
    public class GlobalSettings
    {
        /// <summary>
        /// Default, this thread is delay by 500ms
        /// </summary>
        public int ReadInfoDelay = 500;
        /// <summary>
        /// Enum process delay to find new target
        /// </summary>
        public int EnumProcessDelay = 3000;
        /// <summary>
        /// Timestamp of the last time enum process
        /// </summary>
        public int EnumProcessTimeStamp = 0;

        /// <summary>
        /// Log file for technical support
        /// </summary>
        public string LogFilePath = AppDomain.CurrentDomain.BaseDirectory + @"log\support.log";
        /// <summary>
        /// Max log file size --> if size of the current log is over this, rotate.
        /// </summary>
        public int LogFileMaxSize = 5; //MB rotate once

        public Dictionary<string, string> LoginInfo = new Dictionary<string, string> { };
    }
}
